public class Npc extends Enemy{
    public Npc(int t) {
		switch (t) {
		case 1:
			this.setType("[温迪]");
			this.setLife(1000);
			this.setAttack(1);
			this.setDefend(1);
			this.setMiss(0);
			this.setBlood(0);
			break;
		case 2:
			this.setType("[钟离]");
			this.setLife(2000);
			this.setAttack(1);
			this.setDefend(1);
			this.setMiss(0);
			this.setBlood(0);
			break;
		case 3:
			this.setType("[雷电将军]");
			this.setLife(3000);
			this.setAttack(1);
			this.setDefend(1);
			this.setMiss(0);
			this.setBlood(0);
			break;
		case 4:
			this.setType("[纳西妲]");
			this.setLife(4000);
			this.setAttack(1);
			this.setDefend(1);
			this.setMiss(0);
			this.setBlood(0);
			break;
		case 5:
			this.setType("蕈兽群");
			this.setLife(20000);
			this.setAttack(8);
			this.setDefend(4);
			this.setMiss(30);
			this.setBlood(0);
			break;	
		default:
			System.out.println("输入错误");
			break;
		}
		this.setLive(true);
		this.setMaxLife(this.getLife());
		//maxLife=life;
	}
}